Skip to content

fix: replace imprecise bit-shifts in OPA_MIX with accurate rounding#1

Open
schlenkibus wants to merge 1 commit intomasterfrom
fix-vector-alpha-blending
Open

fix: replace imprecise bit-shifts in OPA_MIX with accurate rounding#1
schlenkibus wants to merge 1 commit intomasterfrom
fix-vector-alpha-blending

Conversation

@schlenkibus
Copy link
Copy Markdown
Member

Replaces bit-shift division in LV_OPA_MIX2 and LV_OPA_MIX3 with accurate math. This prevents "fully opaque" vector elements from rendering with an alpha of 254/252, fixing color bleed against backgrounds.
(which led to color differences in rasterization and vector Pipelines)

Replaces bit-shift division in LV_OPA_MIX2 and LV_OPA_MIX3 with accurate math.
This prevents "fully opaque" vector elements from rendering with an alpha of 254/252, fixing color bleed against backgrounds.
@schlenkibus schlenkibus requested a review from hhoegelo April 7, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant